<template>
	<view>
		<view class="head">
			<view class="box">
				<image class="img1" src="../../static/my/fas fa-home@1x.png" mode=""  @click="openinfo()"></image>
			</view>
			<view class="title">
				我的信息{{}}
			</view>
			<view class="box" @click="set">
				<image  class="img2"  src="../../static/my/fas fa-cog@1x.png" mode=""></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			title:''
		},
		data() {
			return {
				
			};
		},
		methods:{
			set(){
				uni.navigateTo({
					url:'../../my/set/set'
				})
			},
			openinfo(){
			    uni.switchTab({
			    url:'../index/index'
			    })
			}
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #F5F5F5;
	}
	.head{
		height: 100rpx;
		line-height: 100rpx;
		padding: 0 40rpx;
		display: flex;
		justify-content: space-between;
		background-color: #fff;
		.title{
			    font-weight: 700;
			    font-size: 16px;
			    line-height: 100rpx;
			    text-align: center;
			    overflow: hidden;
				color: #FF9500 100%;
		}
		.box{
			margin: auto 0;
			margin-top: 15rpx;
		}
		.img1{
			margin: 0 auto;
			width: 50rpx;
			height: 50rpx;
		}
		.img2{
			margin-top: 10rpx;
			width: 50rpx;
			height: 50rpx;
		}
	}
</style>
